]> permondes.de Git - Analog_Engine.git/blob - scripts/EP1 871102 Throwing a stone.LACE
Throwing a stone on earth, starting a rocket from earth
[Analog_Engine.git] / scripts / EP1 871102 Throwing a stone.LACE
1 # Throwing a stone on earth
2 #
3 # z'' = -g, with g=0,981 da*m/s^2
4 # Initial speeds: v.z0 (vertical) and v.x0 (horizontal)
5
6 coefficient.1(-1) -> -g # set to 0,981
7 coefficient.2(+1) -> v.z0 # initial vertical speed
8 coefficient.3(+1) -> v.x0 # initial horizontal speed
9 coefficient.4(-1) -> -z0 # initial altitude
10
11 iintegrate (-g) -> -v
12 IC: v.z0
13 iintegrate (-v) -> z
14 IC: -z0
15
16 iintegrate (v.x0) -> x
17
18 invert (-v) -> v
19
20 output (x) -> out.x
21 output (z) -> out.y
22 output (v) -> out.z